﻿using AdminStystem.Domain;
using AdminSytem.Application.Dto;

namespace AdminSytem.Application.Traceabilities
{
    public interface ITraceabilityServices
    {

        Task<ResultDto<int>> InsertTraceability(InsertTraceabilityDto dto);
        Task<ResultDto<ApiPaiing<TraceabilityDto>>> GetTraceability(int index, int size);
        Task<ResultDto<List<TraceabilityDto>>> Gettraceability(int id);
        Task<ResultDto<List<Goods>>> GetGoods();
        Task<ResultDto<List<Traceability>>> GetOnly(int id);
        Task<ResultDto<Traceability>> Deltraceability(int id);
        Task<ResultDto<int>> UpdateTraceability(UpdateTraceabilityDto dto);
    }
}